package com.zhongba01.servicefeign;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 中巴价值投资研习社
 *
 * @author : tangjianhua
 * @date : 2018/7/24.
 */
@RestController
public class WebController {

    @Autowired
    HelloWorldService helloWorldService;

    @GetMapping("/hello")
    public String sayHello() {
        return helloWorldService.sayHello();
    }
}
